home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / MetafileRead / MetaFileReadShell.h < prev    next >
Encoding:
Text File  |  1995-06-08  |  1.2 KB  |  60 lines  |  [TEXT/MPCC]

  1. // Quickdraw 3D sample code
  2. //
  3. // Nick Thompson, AppleLink: DEVSUPPORT (devsupport@applelink.apple.com)
  4. //
  5. // ©1994-5 Apple Computer Inc., All Rights Reserved
  6.  
  7. #ifndef _SMALLSHELL_H_
  8. #define _SMALLSHELL_H_
  9.  
  10.     
  11. //-------------------------------------------------------------------------------------------
  12. //
  13. enum {
  14.     mApple = 128,
  15.     mFile,
  16.     mEdit,
  17.     mTest
  18. } ;
  19.  
  20. enum {
  21.     iAbout = 1
  22. } ;
  23.  
  24. enum {
  25.     iNew = 1,
  26.     iOpen,
  27.     iClose,
  28.     iUnused1,
  29.     iQuit
  30. } ;
  31.  
  32. //-------------------------------------------------------------------------------------------
  33. //
  34. enum {
  35.     iUsePictPalette = 1
  36. } ;
  37.  
  38. //-------------------------------------------------------------------------------------------
  39. // globals - defined in SmallShell.c
  40. extern Boolean gQuitFlag ;
  41.  
  42.  
  43. //-------------------------------------------------------------------------------------------
  44. // constants - defined in SmallShell.c
  45. extern const RGBColor    kRGBBlack ;
  46. extern const RGBColor    kRGBWhite ;
  47.  
  48. // function prototypes
  49.  
  50.  
  51. WindowPtr     DoCreateBufferedWindow(    Rect *theRect, 
  52.                                     const Ptr theStorage, 
  53.                                     const CTabHandle theWindowCTab,
  54.                                     const short theDepth, 
  55.                                     const Str255 theTitle ) ;
  56. short         HiWrd(long aLong) ;
  57. short         LoWrd(long aLong) ;
  58.  
  59.  
  60. #endif